<template>
  <div id="app">
    <!-- <item></item>可简写 -->
    <Item/>
  </div>
</template>

<script>
//1.导入 3.写标签
import Item from './components/Item.vue'  //必须有./,否则出错
export default {
  name: 'App',
  //2.引用
  components:{
    Item
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
